//店铺内根据名字搜索菜品
function foodshopserch(data){
    return $axios({
        'url': '/food/searchByNames',
        'method': 'post',
        params:{...data}
    })
}

//热门搜索彩屏
function foodHot(){
    return $axios({
        'url': '/food/hot',
        'method': 'get',
    })
}

//好菜推荐
function foodGoods(){
    return $axios({
        'url': '/food/goods',
        'method': 'get',
    })
}

//历史菜品搜索记录
function foodHistory(){
    return $axios({
        'url': '/food/history',
        'method': 'get',
    })
}

//根据名字搜素菜品
function foodSerchByName(data){
    return $axios({
        'url': '/food/search',
        'method': 'post',
        params:{...data}
    })
}

//主页搜索框菜品列表
function foodList(data){
    return $axios({
        'url': '/food/list',
        'method': 'get',
        params:{...data}
    })
}